        <? foreach($messagePrev as $mp){ ?>
          <li>
			<span>
				<span><a href="javascript:void(0);" style="color:Black;"><? echo $mp->realname; ?>(<? echo $mp->uname; ?>)</a></span>&nbsp;&nbsp;
				<span>发表于<script language=javascript>//formatTime(<?php //echo $mp->createtime; ?>);</script>
					<? echo date("Y-m-d H:i:s",$mp->createtime); ?></span>&nbsp;&nbsp;
				<span >状态：<? if($mp->status==1){echo "已回复";}else{echo "未回复";} ; ?></a></span>	
			</span>
			
			<br/>
			<span >主题：<? echo $mp->subject; ?></span>
			<br/>
			<span >内容：<? echo $mp->message; ?></span>
			<br/>
			<span style="color:#33CC33;">-------------------------------------</span>
			<br/>
			<span style="color:Black;">备注：</span>
			<span style="color:#FF3333;"><? echo $mp->comment; ?></span>
			<br/>
			<span ><a onclick="controlShow(<? echo $mp->id; ?>)" href="javascript:void(0);" title="看我干么，点啊!" style="color:green;">管理选项</a></span>
			<div id="controlPanel<? echo $mp->id; ?>" style="display:none;">
				<span ><a href="javascript:messageDelete(<? echo $mp->id; ?>);">删除留言</a></span>&nbsp;&nbsp;
				<span ><a href="javascript:statusChange(<? echo $mp->id; ?>);">修改状态</a></span>&nbsp;&nbsp;
				<span ><a href="javascript:commentShow(<? echo $mp->id; ?>);">修改备注</a></span>
			</div>
			<br/>
			<div id="commentPanel<? echo $mp->id; ?>" style="display:none;">
				<textarea  style=" width:574px; height:70px; border:1px solid #ddd;"></textarea>
				<br/>
				<span ><a href="javascript:commentModifySubmit(<? echo $mp->id; ?>);">提交</a></span>
				<span ><a href="javascript:commentModifyHide(<? echo $mp->id; ?>);">收起</a></span>
			</div>
			<br/>
			<hr width="50%" align="left" color="green"/>
			<br/>
          </li>
        <? } ?>